Alfresco Index of Web Scripts URI '/api/type/{typeId}'
Alfresco Community v3.2.0 (2039)
1 Web Scripts

Back to Web Scripts Home

Up to uri /api/type

/api/type/{typeId}/children
/api/type/{typeId}/descendants

Retrieve a Type (getTypeDefinition)
GET /alfresco/service/api/type/{typeId}?includeInheritedProperties={includeInheritedProperties?}
Description:Gets the definition for specified object type

Inputs:

ID typeId: Type Id

Outputs:

Collection typeAttributeCollection: Type attributes of an object type definition. See the “Object Type” section for a complete list of type attributes.
propertyDefinition: A list of property definitions. Each property definition consists of a collection of property attributes. See the “Object Type” section for a complete list of property attributes.

Notes:

canCreateInstances if false, the user MUST NOT be able to create instances of this particular type. If true, the user may be able to create instances.
When includeInheritedProperties is true, the repository SHOULD return all properties defined for the Object Type, including any properties inherited from its parent. If false, only Properties defined on the Object Type (but not its parent) SHOULD be returned.
Authentication:user
Transaction:required
Format Style:any
Default Format:atomentry
Id:org/alfresco/repository/store/type.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/store/type.get.desc.xml